﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ taglib prefix="expect-x" uri="/WEB-INF/expect-x.tld" %>
<%
    String head_path = request.getContextPath();
    String head_basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+head_path+"/";
%>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="<%=head_basePath%>resources/lib/layuiAdmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="<%=head_basePath%>resources/lib/font_alibaba/iconfont.css" media="all">

<link rel="stylesheet" href="<%=head_basePath%>resources/lib/layuiAdmin/style/admin.css" media="all">
<link rel="stylesheet" href="<%=head_basePath%>resources/lib/layuiAdmin/style/uploader.css" media="all">

<script src="<%=head_basePath%>resources/js/jquery.1.12.4.min.js"></script>
<script src="<%=head_basePath%>resources/lib/layuiAdmin/layui/layui.js"></script>


<script src="<%=head_basePath%>resources/js/UtilClass.js"></script>
<script src="<%=head_basePath%>resources/js/Util.js"></script>
<script type="text/javascript" charset="utf-8" src="<%=head_basePath%>resources/ueditor/ueditor.config.js"></script>
<script type="text/javascript" charset="utf-8" src="<%=head_basePath%>resources/ueditor/ueditor.all.min.js"> </script>
<!--建议手动加在语言，避免在ie下有时因为加载语言失败导致编辑器加载失败-->
<!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型，比如你在配置项目里配置的是英文，这里加载的中文，那最后就是中文-->
<script type="text/javascript" charset="utf-8" src="../../../resources/ueditor/lang/zh-cn/zh-cn.js"></script>
<script>
    /^http(s*):\/\//.test(location.href) || alert('请先部署到 localhost 下再访问');
</script>